Deploy external or internal ingresses for Istio service mesh add

您所在的位置:网站首页 azure ingress Deploy external or internal ingresses for Istio service mesh add

Deploy external or internal ingresses for Istio service mesh add

#Deploy external or internal ingresses for Istio service mesh add| 来源: 网络整理| 查看: 265

Deploy external or internal ingresses for Istio service mesh add-on for Azure Kubernetes Service (preview) Article 04/18/2023

This article shows you how to deploy external or internal ingresses for Istio service mesh add-on for Azure Kubernetes Service (AKS) cluster.

Important

AKS preview features are available on a self-service, opt-in basis. Previews are provided "as is" and "as available," and they're excluded from the service-level agreements and limited warranty. AKS previews are partially covered by customer support on a best-effort basis. As such, these features aren't meant for production use. For more information, see the following support articles:

AKS support policies Azure support FAQ Prerequisites

This guide assumes you followed the documentation to enable the Istio add-on on an AKS cluster, deploy a sample application and set environment variables.

Enable external ingress gateway

Use az aks mesh enable-ingress-gateway to enable an externally accessible Istio ingress on your AKS cluster:

az aks mesh enable-ingress-gateway --resource-group $RESOURCE_GROUP --name $CLUSTER --ingress-gateway-type external

Use kubectl get svc to check the service mapped to the ingress gateway:

kubectl get svc aks-istio-ingressgateway-external -n aks-istio-ingress

Observe from the output that the external IP address of the service is a publicly accessible one:

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE aks-istio-ingressgateway-external LoadBalancer 10.0.10.249 15021:30705/TCP,80:32444/TCP,443:31728/TCP 4m21s

Applications aren't accessible from outside the cluster by default after enabling the ingress gateway. To make an application accessible, map the sample deployment's ingress to the Istio ingress gateway using the following manifest:

kubectl apply -f -


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3